package com.common.model;

import lombok.Data;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

@Data
public class Graph {

    private Set<Vertex> vertexSet = new HashSet<>();
    /**
     * 相邻的节点
     */
    private Map<Vertex, Vertex[]> adjacencys = new HashMap<>();
}
